home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Freeware
/
Adobe Air 1.5
/
AdobeAIRInstaller.exe
/
setup.swf
/
scripts
/
_DragManagerStyle.as
< prev
next >
Wrap
Text File
|
2008-10-29
|
2KB
|
48 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.skins.halo.DefaultDragImage;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _DragManagerStyle
{
private static var _embed_css_Assets_swf_mx_skins_cursor_DragReject_109412157:Class = _DragManagerStyle__embed_css_Assets_swf_mx_skins_cursor_DragReject_109412157;
private static var _embed_css_Assets_swf_mx_skins_cursor_DragLink_111203614:Class = _DragManagerStyle__embed_css_Assets_swf_mx_skins_cursor_DragLink_111203614;
private static var _embed_css_Assets_swf_mx_skins_cursor_DragCopy_111465609:Class = _DragManagerStyle__embed_css_Assets_swf_mx_skins_cursor_DragCopy_111465609;
private static var _embed_css_Assets_swf_mx_skins_cursor_DragMove_111178037:Class = _DragManagerStyle__embed_css_Assets_swf_mx_skins_cursor_DragMove_111178037;
public function _DragManagerStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("DragManager");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("DragManager",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.rejectCursor = _embed_css_Assets_swf_mx_skins_cursor_DragReject_109412157;
this.defaultDragImageSkin = DefaultDragImage;
this.moveCursor = _embed_css_Assets_swf_mx_skins_cursor_DragMove_111178037;
this.copyCursor = _embed_css_Assets_swf_mx_skins_cursor_DragCopy_111465609;
this.linkCursor = _embed_css_Assets_swf_mx_skins_cursor_DragLink_111203614;
};
}
}
}
}